package com.kw.model.weixin.user.entry;

import java.util.HashMap;

public class WeiXinDeveloperId {
   private static HashMap<String,WeiXinCommands> developerId=new HashMap<String,WeiXinCommands>();
   
   public WeiXinDeveloperId(HashMap<String,WeiXinCommands> map){
	   developerId=map;
   }
   public void register(String idName,WeiXinCommands commands){
	   developerId.put(idName, commands) ;
   }
   
   public void unregister(String idName){
	   developerId.remove(idName);
   }
   
   public WeiXinCommands getCommands(String name){
	   return developerId.get(name);
   }
   
   public HashMap<String, WeiXinCommands> getDeveloperId() {
	   return developerId;
   }
   
   public void setDeveloperId(HashMap<String, WeiXinCommands> developerId) {
	   WeiXinDeveloperId.developerId = developerId;
   }
   
   
}
